package com.ldq.imooc.service;

import com.ldq.imooc.bean.Message;
import com.ldq.imooc.dao.MessageDao;

import java.util.List;

/**
 * @Author : 李道泉
 * @Description :
 * @Date : 2018/8/7 16:56
 * @Modified by :
 */
public class ListService {

    public List<Message> queryMessageList(String command, String description) {

        MessageDao messageDao = new MessageDao();
        return messageDao.queryMessageList(command, description);
    }
}
